package Interpreter_Pattern.Language;


// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class ChuNode extends AbstractNode{
    private AbstractNode left;
    private AbstractNode right;
    public ChuNode(AbstractNode left,AbstractNode right){
        this.left=left;
        this.right=right;
    }

    @Override
    public int result() {
        return left.result()/ right.result();
    }
}
